

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<script type="text/javascript">
try {
  var enableAccessControl = false ;
  if (enableAccessControl) {
    var tmp = window.location.href.substr(7) ;
    var SERVER_NAME = tmp.substr(0, tmp.indexOf("/")) ;
    var domainName = SERVER_NAME.substr(SERVER_NAME.indexOf(".")+1) ;
    document.domain = domainName;
    try {
      if (!top.betSlipFrame.isLogon())
        window.location.replace("/general_index.aspx?lang=en") ;
    }
    catch (e) {window.location.replace("/general_index.aspx?lang=en") ;}	
	}
}
catch (e) {;}	
</script>
<script type="text/javascript">

</script>
<HTML>
	<HEAD>
		
<META http-equiv="Content-Type" content="text/html; charset=big5">
<LINK href="/info/include/css/en/styles.css" type="text/css" rel="stylesheet">
<link href="/info/include/menu/css/en/menu_styles.css" type="text/css" rel="stylesheet">
<link href="/racing/info/css/en/racing.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/info/include/js/common.js"></script>
<script type="text/javascript" src="/info/include/js/default.js"></script>
<script type="text/javascript" src="/info/include/js/en/items.js"></script>
<script type="text/javascript" src="/info/include/menu/js/menu.js"></script>
<script type="text/javascript" src="/racing/info/ch/common.js"></script>
<script type="text/javascript" src="/racing/script/racingCommon.js"></script>
<script type="text/javascript" src="/racing/script/racingComponent.js"></script>
<script type="text/javascript" src="/racing/script/racingCommonFF.js"></script>
<script type="text/javascript" src="/racing/script/index_betcalc.js"></script>
<script type="text/javascript" src="/info/include/js/defaultLang.js"></script>	<!-- Q209 Language Personalization  -->
 <script type="text/javascript" src="/racing/script/secure.js"></script> 
<script type="text/javascript">

if ( navigator.appName.indexOf('Microsoft') > -1 )
  document.domain = 'hkjc.com';

try {
  top.document.title = 'HKJC Horse Race Betting Limited';
} catch ( ex ) {
  document.title = 'HKJC Horse Race Betting Limited';
}
</script>

	</HEAD>
<script type="text/javascript">

var refreshFunc;
var xmlRequestTime = 0;

// common labels for scripting
var jcewUrlLbl = 'http://www.hkjc.com/english';
var scratchLbl = 'SCR';
var reserveLbl = 'R';
var isOverseaMeeting = false;
var enableBS = true;

/////////////////////////////////////////////////////////
// set onload function
/////////////////////////////////////////////////////////
function initRacing() {
  try {
    initOddsTable();
    sendMeetingDateToBetslip('ST@13-09-2009');

    if ( navigator.appName.indexOf('Microsoft') <= -1 ) {
      refreshFunc = ManualReloadOddsFF;
      ReloadXML_FF();
      ReloadOddsOnly_FF();
    }
    else {
      refreshFunc = ManualReloadOdds;
      ReloadXML();
      ReloadOddsOnly();
    }

  } catch (e) {
  }

  try {
    initHrPromoTop();
    initHrPromoBottom();
  } catch (e) {
  }

  try {
    genMenuObject('/contentserver/jcbw/userxml/sbdata_userMenuE.xml');
    xsellInit();
  } catch (e) {
  }
}

function ReloadXML() {
  refreshAllDoc();

  setTimeout("ReloadXML()", 30000);

}

function ReloadXML_FF() {
  refreshAllDocFF();

  setTimeout("ReloadXML_FF()", 30000);

}

function ReloadOddsOnly() {
  refreshOddsDoc();

  setTimeout("ReloadOddsOnly()", 30000);

}

function ReloadOddsOnly_FF() {
  refreshOddsDocFF();

  setTimeout("ReloadOddsOnly_FF()", 30000);

}

var xmlRequestTime = 0;
function ManualReloadOdds() {

  if ( (new Date().getTime() - xmlRequestTime) > 30000 ) {
    refreshOddsDoc();
    xmlRequestTime = new Date().getTime();
  }

}

function ManualReloadOddsFF() {

  if ( (new Date().getTime() - xmlRequestTime) > 30000 ) {
    refreshOddsDocFF();
    xmlRequestTime = new Date().getTime();
  }

}

</script>
	<body onunload="unloadCommon();">
		<table width="776" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
					
<!-- Betslip sync language with info-->
<script language="JavaScript">
var int_language_chi = 1 ;
var int_language_eng = 0 ;
var int_time_interval = 1 ;		// Second for time interval
function func_check_readstate()
{
	try {	// try no object  		
		if (!(!isIE || top.betSlipFrame == undefined || top.showMode == "0" || top.betSlipFrame.isLogon() == 1)) //NOT betslip not exist
		{
			if (parent.betSlipFrame.document.readyState == 'complete')	// check the document ready state
				parent.betSlipFrame.chgLang(int_language_eng) ;	// set the language
			else
				var timer_id = setTimeout('func_check_readstate()', int_time_interval * 1000 );	// recall next time's
		}
	} catch(e) {
		var timer_id = setTimeout('func_check_readstate()', int_time_interval * 1000 );	// recall next time's
	}
}

func_check_readstate() ;
</script>
<div id="topNav" style="Z-INDEX:5; POSITION:absolute"></div>
<div id="topMenus">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td style="PADDING-RIGHT:0px; PADDING-LEFT:0px; PADDING-BOTTOM:0px; PADDING-TOP:11px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="10"><img src="/info/include/images/spacer.gif" width="10" height="10" alt="13"></td>
						<td width="43" style="PADDING-RIGHT:0px; PADDING-LEFT:20px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><a href="javascript:changeLang('/racing/pages/odds_wp.aspx?&date=13-09-2009&venue=ST&lang=ch', 0);"class="topMenu">中文</a></td>
						<td width="45" style="PADDING-RIGHT:0px; PADDING-LEFT:15px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/index.asp', '', '', '', 'yes', 'yes')" class="topMenu">Home</a></td>
						<td width="107"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/corporate/corp_about.asp', '', '', '', 'yes', 'yes')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('corporate','','/info/include/images/en/topmenu_corporate_over.gif',1);"><img src="/info/include/images/en/topmenu_corporate_off.gif" name="corporate" height="28" border="0" title='Corporate'></a></td>
						<td width="1"><img src="/info/include/images/topmenu_line_v.gif" width="1" height="11"></td>
						<td width="107"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/hrc/hindex.asp', '', '', '', 'yes', 'yes')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('hrc','','/info/include/images/en/topmenu_hrc_over.gif',1);"><img src="/info/include/images/en/topmenu_hrc_off.gif" name="hrc" height="28" border="0" title='Horse Racing'></a></td>
						<td width="1"><img src="/info/include/images/topmenu_line_v.gif" width="1" height="11"></td>
						<td width="107"><a href="/index.aspx?lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('bet','','/info/include/images/en/topmenu_bet_on.gif',1);"><img src="/info/include/images/en/topmenu_bet_on.gif" name="bet" height="28" border="0" title='Betting Entertainment'></a></td>
						<td width="1"><img src="/info/include/images/topmenu_line_v.gif" width="1" height="11"></td>
						<td width="107"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/charity/charity_racing.asp', '', '', '', 'yes', 'yes')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('charity','','/info/include/images/en/topmenu_charity_over.gif',1);"><img src="/info/include/images/en/topmenu_charity_off.gif" name="charity" height="28" border="0" title='Charities'></a></td>
						<td width="1"><img src="/info/include/images/topmenu_line_v.gif" width="1" height="11"></td>
						<td width="107"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/include/redirect_membership.asp', '', '', '', 'yes', 'yes')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('member','','/info/include/images/en/topmenu_member_over.gif',1);"><img src="/info/include/images/en/topmenu_member_off.gif" name="member" height="28" border="0" title='Membership'></a></td>
						<td width="1"><img src="/info/include/images/topmenu_line_v.gif" width="1" height="11"></td>
						<td width="107"><a href="javascript:NewNormalWindow('http://www.hkjc.com/english/come_racing/come_overview.asp', '', '', '', 'yes', 'yes')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('come','','/info/include/images/en/topmenu_come_over.gif',1);"><img src="/info/include/images/en/topmenu_come_off.gif" name="come" height="28" border="0" title='Come Racing'></a></td>
						<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr valign="top">
						<td width="6" style="BACKGROUND:url(/info/include/images/shadow_l.gif) repeat-y right 50%"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
						<td width="750" bgcolor="#ffffff" style="PADDING-RIGHT:7px;PADDING-LEFT:7px;PADDING-BOTTOM:7px;PADDING-TOP:7px">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr valign="top">
									<td width="70"><a href="/racing/index.aspx?lang=en"><img src="/info/include/images/en/btn_racing_on.gif" title='Racing' width="70" height="40" border="0" name="racing"></a></td>
									<td width="72"><a href="/football/index.aspx?ci=en-US" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('football','','/info/include/images/en/btn_football_over.gif',1);"><img src="/info/include/images/en/btn_football_off.gif" title='HKJC Football' width="70" height="40" hspace="1" border="0" name="football"></a></td>
									<td width="70"><a href="/marksix/index.aspx?lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('marksix','','/info/include/images/en/btn_marksix_over.gif',1);"><img src="/info/include/images/en/btn_marksix_off.gif" title='Mark Six' width="70" height="40" border="0" name="marksix"></a></td>
									<td align="right">
										<span class="date" id="server_datetime">
											13/09/09 16:11 (SUN)
										</span>
									</td>
								</tr>
								<tr>
									<td colspan="4" bgcolor="#4a8cc1"><img src="/info/include/images/spacer.gif" width="1" height="3"></td>
								</tr>
							</table>
						</td>
						<td width="6" style="BACKGROUND:url(/info/include/images/shadow_r.gif) repeat-y right 50%"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
<div id="hr_promo_top_div">
	<table width="776" border="0" cellspacing="0" cellpadding="0">
		<tr valign="top">
			<td width="6" class="shadowLeft"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
			<td width="764" bgcolor="#ffffff">
				<iframe src="" width="764" height="1" frameborder="0" scrolling="no" name="hr_promo_top"
					id="hr_promo_top"></iframe>
			</td>
			<td width="6" class="shadowRight"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
		</tr>
	</table>
</div>
<div id="2" style="DISPLAY:none"></div>
<!-- Q309 Important Notices start-->
<iframe src="" scrolling="no" frameborder="0" allowtransparency="true" width="776" height="0" id="homeSNFrame" name="homeSNFrame" style="display:none">&nbsp;</iframe>
<!-- Q309 Important Notices end -->

<div id="thirdMenu">
<table width='776' border='0' cellspacing='0' cellpadding='0'><tr><td width='6' class='shadowLeft'><img src='/info/include/images/spacer.gif' width='6' height='1'></td><td width='764' style='padding:0px 7px 0px 7px;' bgcolor='#FFFFFF'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarLine'><table width='100%' border='0' cellspacing='0' cellpadding='0' class='toolbarBg' height='24'><tr><td><div align='center' onMouseOver='betToolsMenuOver(0, 1);' onMouseOut='betToolsMenuOver2(0, 0);'> <a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/entry.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_0' class='toolbarTxt'>Entrylist</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div align='center' onMouseOver='betToolsMenuOver(1, 1);' onMouseOut='betToolsMenuOver2(1, 0);'> <a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/startersr1_e.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_1' class='toolbarTxt'>Race Card</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div align='center' onMouseOver='betToolsMenuOver(2, 1);' onMouseOut='betToolsMenuOver2(2, 0);'> <a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/fixture.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_2' class='toolbarTxt'>Fixture</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; left:0px' id='betToolsMenu_3' onMouseOver='betToolsMenuOver(3, 1);' onMouseOut='betToolsMenuOver(3, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/change.asp','','width=653,height=780,left=0,top=0,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Changes</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(3, 1);' onMouseOut='betToolsMenuOver2(3, 0);'> <a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/change.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_3' class='toolbarTxt'>Ref. Info</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; left:0px' id='betToolsMenu_4' onMouseOver='betToolsMenuOver(4, 1);' onMouseOut='betToolsMenuOver(4, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/redir/jkcstanding.asp?l=en','','width=425,height=500,left=0,top=0,scrollbars=yes,resizable=yes');" class='pulldownTxt'>JKC Standings</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/jkcstat.asp','','width=653,height=780,left=0,top=0,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Jockey Challenge Statistics</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/jockeybooking.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Jockeys' Rides</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/promo/en/2008_jkc/08jkc_index.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>More about Jockey Challenge</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(4, 1);' onMouseOut='betToolsMenuOver2(4, 0);'> <a href="/racing/pages/odds_jkc.aspx?lang=en" id='betToolsTxt_4' class='toolbarTxt'>Jockey Challenge Info</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; left:0px' id='betToolsMenu_5' onMouseOver='betToolsMenuOver(5, 1);' onMouseOut='betToolsMenuOver(5, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="/racing/pages/results.aspx?lang=en" class='pulldownTxt'>Current Raceday Results & Dividend</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/racing/results.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>All Results & Dividend</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://gadget.hkjc.com/rebatecalculator/cal.aspx?lang=en','','width=660,height=600,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Rebate Calculator</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(5, 1);' onMouseOut='betToolsMenuOver2(5, 0);'> <a href="/racing/pages/results.aspx?lang=en" id='betToolsTxt_5' class='toolbarTxt'>Results & Dividend</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; left:0px' id='betToolsMenu_6' onMouseOver='betToolsMenuOver(6, 1);' onMouseOut='betToolsMenuOver(6, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/tipsindex/tips_index.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Tips Index</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/easyform/popindex.asp?lang=eng','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Easy Form</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/formguide/formguide.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>SpeedPOWER</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(6, 1);' onMouseOut='betToolsMenuOver2(6, 0);'> <a href="javascript:MM_openBrWindow('http://www.hkjc.com/english/tipsindex/tips_index.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_6' class='toolbarTxt'>Tools</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; left:0px' id='betToolsMenu_7' onMouseOver='betToolsMenuOver(7, 1);' onMouseOut='betToolsMenuOver(7, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/root/racing/info/en/betting/guide_qualifications_pari.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Pari-mutuel Pools</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/root/racing/info/en/betting/guide_qualifications_fixed.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Fixed Odds Bet Types</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/promo/en/2008_flexibet/08_flexibet_index.asp','','width=785,height=600,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Flexi Bet</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/root/racing/info/en/betting/guide_chance.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Chance Table</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(7, 1);' onMouseOut='betToolsMenuOver2(7, 0);'> <a href="#" id='betToolsTxt_7' class='toolbarTxt'>Pools / Bet Types</a></div></td><td width='1'><img src='/racing/info/images/tool_line_v.gif' width='1' height='14'></td><td align='right'><div style='position:relative;'><div style='width:130px; position:absolute; visibility:hidden; top:15px; right:0px; text-align:right;' id='betToolsMenu_8' onMouseOver='betToolsMenuOver(8, 1);' onMouseOut='betToolsMenuOver(8, 0);'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td class='toolbarPulldown'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://special.hkjc.com/root/racing/info/en/betting/guide_rebate.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Rebate</a></td></tr><tr valign='top'><td class='pulldownArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td class='pulldownTxt' width='100%'><a href="javascript:MM_openBrWindow('http://gadget.hkjc.com/rebatecalculator/cal.aspx?lang=en','','width=660,height=600,left=20,top=20,scrollbars=yes,resizable=yes');" class='pulldownTxt'>Rebate Calculator</a></td></tr></table></td></tr></table></div></div><div align='center' onMouseOver='betToolsMenuOver(8, 1);' onMouseOut='betToolsMenuOver2(8, 0);'> <a href="javascript:MM_openBrWindow('http://special.hkjc.com/root/racing/info/en/betting/guide_rebate.asp','','width=680,height=440,left=20,top=20,scrollbars=yes,resizable=yes');" id='betToolsTxt_8' class='toolbarTxt'>Rebate</a></div></td></tr></table></td></tr></table></td><td width='6' class='shadowRight'><img src='/info/include/images/spacer.gif' width='6' height='1'></td></tr></table>

</div>
<script>

serverDateObj = new Date(2009,(9-1),13,16,11,57)
window.setTimeout("serverOddsRefresh()", 60000);

function serverOddsRefresh() {		
  serverDateObj.setMinutes(serverDateObj.getMinutes() + 1);
  document.getElementById("server_datetime").innerHTML = formatServerOdds(serverDateObj) ;
  window.setTimeout("serverOddsRefresh()", 60000);
}

function formatServerOdds(d) {
  dowArray = new Array();
  dowArray[0] = 'SUN';
  dowArray[1] = 'MON';
  dowArray[2] = 'TUE';
  dowArray[3] = 'WED';
  dowArray[4] = 'THU';
  dowArray[5] = 'FRI';
  dowArray[6] = 'SAT';
  return addZero(d.getDate()) + '/' + addZero((d.getMonth() + 1)) + '/' + addZero(d.getFullYear()) + ' ' + addZero(d.getHours()) + ':' + addZero(d.getMinutes()) + ' (' + dowArray[d.getDay()] + ')';
}

function addZero(tstr) {
  return ('0'+tstr).substr((tstr+'').length-1, 2)
}

function initHrPromoTop() {
  document.getElementById('hr_promo_top').src = '';
  if ( document.getElementById('')!=null ) {
    document.getElementById('').style.display = 'block';
    document.getElementById('').src = '/football/importantNotices.aspx?ci=en-US&type=racing';
  }
}

</script>

					<table width="776" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
							<td bgcolor="#ffffff"><img src="/info/include/images/spacer.gif" width="1" height="7"></td>
							<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
						</tr>
						<tr>
							<td width="6" class="shadowLeft"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
							<td width="764" bgcolor="#ffffff">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr valign="top">
										<td style="PADDING-RIGHT:4px; PADDING-LEFT:6px; PADDING-BOTTOM:0px; PADDING-TOP:0px">
											
<div id="oddsMenu">
<table border='0' cellspacing='0' cellpadding='0'><tr><td class='title' colspan='3' style='padding:7px 0px 7px 3px;'><strong>Odds</strong></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRXPOOL','leftNavOver')" onMouseOut="changeClass('leftTxtHRXPOOL','leftNav')" onClick="location.href='/racing/pages/odds_cross_alup.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRXPOOL'>All Up / Cross Pool All Up</a>&nbsp;<img src='/football/info/images/E_rebate.gif' title='Rebate'></td></tr><tr valign='top' class='leftBg'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRWP','leftNavOver')" onMouseOut="changeClass('leftTxtHRWP','leftNavOver')" onClick="location.href='/racing/pages/odds_wp.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNavOver' target='' id='leftTxtHRWP'>Win / Place</a>&nbsp;<img src='/football/info/images/E_rebate.gif' title='Rebate'></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRWPQ','leftNavOver')" onMouseOut="changeClass('leftTxtHRWPQ','leftNav')" onClick="location.href='/racing/pages/odds_wpq.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRWPQ'>Quinella / Quinella Place</a>&nbsp;<img src='/football/info/images/E_rebate.gif' title='Rebate'></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRTCE','leftNavOver')" onMouseOut="changeClass('leftTxtHRTCE','leftNav')" onClick="location.href='/racing/pages/odds_tce.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRTCE'>Tierce</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRTRI','leftNavOver')" onMouseOut="changeClass('leftTxtHRTRI','leftNav')" onClick="location.href='/racing/pages/odds_tri.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRTRI'>Trio</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRF-F','leftNavOver')" onMouseOut="changeClass('leftTxtHRF-F','leftNav')" onClick="location.href='/racing/pages/odds_ff.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRF-F'>First 4</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRDBL','leftNavOver')" onMouseOut="changeClass('leftTxtHRDBL','leftNav')" onClick="location.href='/racing/pages/odds_dbl.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRDBL'>Double</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRTBL','leftNavOver')" onMouseOut="changeClass('leftTxtHRTBL','leftNav')" onClick="location.href='/racing/pages/odds_tbl.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRTBL'>Treble</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRD-T','leftNavOver')" onMouseOut="changeClass('leftTxtHRD-T','leftNav')" onClick="location.href='/racing/pages/odds_dt.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRD-T'>Double Trio</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRT-T','leftNavOver')" onMouseOut="changeClass('leftTxtHRT-T','leftNav')" onClick="location.href='/racing/pages/odds_tt.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRT-T'>Triple Trio</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHR6UP','leftNavOver')" onMouseOut="changeClass('leftTxtHR6UP','leftNav')" onClick="location.href='/racing/pages/odds_6up.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHR6UP'>Six Up</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRJKC','leftNavOver')" onMouseOut="changeClass('leftTxtHRJKC','leftNav')" onClick="location.href='/racing/pages/odds_jkc.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRJKC'>Jockey Challenge</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRJTCOMBO','leftNavOver')" onMouseOut="changeClass('leftTxtHRJTCOMBO','leftNav')" onClick="location.href='/racing/pages/odds_jtcombo.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRJTCOMBO'>Jockey Trainer Combo</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRPWIN','leftNavOver')" onMouseOut="changeClass('leftTxtHRPWIN','leftNav')" onClick="location.href='/racing/pages/odds_pwin.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRPWIN'>Progressive Win Odds</a></td></tr><tr valign='top'><td width='1%' class='leftNavArrow'><img src='/racing/info/images/arrow.gif' width='4' height='5'></td><td width='99%' class='leftNav' onMouseOver="changeClass('leftTxtHRTO','leftNavOver')" onMouseOut="changeClass('leftTxtHRTO','leftNav')" onClick="location.href='/racing/pages/odds_turnover.aspx?lang=en&date=13-09-2009&venue=ST'" style="cursor:pointer;"><a class='leftNav' target='' id='leftTxtHRTO'>Pool Investment</a></td></tr></table>

</div>
										</td>
										<td width="635" style="PADDING-RIGHT:7px" class="content">
											<!-- Odds Page Content -->
											
<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
	<tr>
		<td colspan="2">
<div class="topTitleBar">
	<table style="PADDING-TOP:4px;" width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
		    <td><img src="/info/include/images/spacer.gif" height="22px" width="1px"></td>
			<td>
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="1px" style="PADDING-RIGHT:10px"><img src="/info/include/images/stroke_yellow.gif"></td>
						<td class="titleWhite" nowrap>Win / Place</td>
						<td class="titleWhite"><a href="javascript:goBettingGuide('en');"><img src="/info/include/images/icon_help.gif"hspace="5" border="0" align="absMiddle" title="Betting Guide"></a></td>
						<td class="white" style="PADDING-LEFT:5px">13/09/2009, Sunday, <nobr>Sha Tin</nobr></td>
						<td class="white" style="PADDING-LEFT:5px"><input id="allupCheckbox" type="checkbox" class="checkbox" onClick="switchAllUpPage();"></td><td class="white" nowrap><label for="allupCheckbox">All Up</label></td>
					</tr>
				</table>
			</td>
			<td width="290px" align="right">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="white">Refresh at: <span id="oddsRefreshTime"></span></td><td class="white" style="PADDING-RIGHT:0px; PADDING-LEFT:10px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><a href="#" onclick="refreshFunc()" class="white">Refresh Odds</a></td><td><a href="#" onclick="refreshFunc()"><img src="/info/include/images/icon_refresh.gif" hspace="5" border="0" title="Refresh Odds"></a></td>
						<td id="oddsTypeDropdown" align="right" style="PADDING-RIGHT:2px; PADDING-LEFT:5px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><select id="oddsDataDropDown" class="select1" style="width:90px"onchange="changeDataType(this.value)"><option value="" selected>Current Odds</option><option value="pre">Pre-Sell Odds</option></select></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
</td>
	</tr>
	<tr>
		<td colspan="2">
<div class="racebg">
<table border="0" cellspacing="0" cellpadding="0">
	<tr>
		
		<td style="padding-right:3px;">Race</td>
		<td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=1&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_1', '', '/racing/info/images/num_1_on.gif',1);"><img id="raceSelBtn1" src="/racing/info/images/num_1.gif" border="0" id="race_num_1" title="Race 1"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=2&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_2', '', '/racing/info/images/num_2_on.gif',1);"><img id="raceSelBtn2" src="/racing/info/images/num_2.gif" border="0" id="race_num_2" title="Race 2"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=3&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_3', '', '/racing/info/images/num_3_on.gif',1);"><img id="raceSelBtn3" src="/racing/info/images/num_3.gif" border="0" id="race_num_3" title="Race 3"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=4&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_4', '', '/racing/info/images/num_4_on.gif',1);"><img id="raceSelBtn4" src="/racing/info/images/num_4.gif" border="0" id="race_num_4" title="Race 4"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=5&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_5', '', '/racing/info/images/num_5_on.gif',1);"><img id="raceSelBtn5" src="/racing/info/images/num_5.gif" border="0" id="race_num_5" title="Race 5"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=6&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_6', '', '/racing/info/images/num_6_on.gif',1);"><img id="raceSelBtn6" src="/racing/info/images/num_6.gif" border="0" id="race_num_6" title="Race 6"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=7&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_7', '', '/racing/info/images/num_7_on.gif',1);"><img id="raceSelBtn7" src="/racing/info/images/num_7.gif" border="0" id="race_num_7" title="Race 7"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=8&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_8', '', '/racing/info/images/num_8_on.gif',1);"><img id="raceSelBtn8" src="/racing/info/images/num_8_on.gif" border="0" id="race_num_8" title="Race 8"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=9&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_9', '', '/racing/info/images/num_9_on.gif',1);"><img id="raceSelBtn9" src="/racing/info/images/num_9.gif" border="0" id="race_num_9" title="Race 9"></a></td><td style="PADDING-LEFT:3px"><a href="/racing/pages/odds_wp.aspx?date=13-09-2009&venue=ST&raceno=10&lang=en" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('race_num_10', '', '/racing/info/images/num_10_on.gif',1);"><img id="raceSelBtn10" src="/racing/info/images/num_10.gif" border="0" id="race_num_10" title="Race 10"></a></td>
	</tr>
</table>
</div>
</td>
	</tr>
	<tr>
		<td colspan="2">
<table style="PADDING-RIGHT:5px;PADDING-LEFT:5px;PADDING-BOTTOM:3px;PADDING-TOP:3px" width="100%"
	border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="1%" class="content" nowrap><strong>Race 8</strong></td><td width="1%" style="PADDING-RIGHT:10px; PADDING-LEFT:20px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><img src="/info/include/images/stroke_black.gif"></td><td class="content">ADMIRALTY HANDICAP, 16:40, Class 3, Turf, "A" Course, 1200m</td>
		<td align="right">
			
			<a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('raceInfobtn_addslip','','/info/include/images/en/btn_addslip_on.gif',1)"><img src="/info/include/images/en/btn_addslip.gif" border="0" id="raceInfobtn_addslip" onclick="processBet('betslip');xsell_event(10);" title="Add To Slip" align="absMiddle"></a>
		</td>
	</tr>
</table>
</td>
	</tr>
</table>


<div id="oddsContentMain">
	<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
		<tr>
			<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="BORDER-RIGHT:#999999 1px solid; BORDER-TOP:#999999 1px solid; BORDER-LEFT:#999999 1px solid; BORDER-BOTTOM:#999999 1px solid">
	<tr>
		<td style="PADDING-RIGHT:5px; PADDING-LEFT:7px; PADDING-BOTTOM:4px; PADDING-TOP:5px">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" style="CURSOR:pointer">
				<tr>
					<td width="15" title='Click to expand / collapse' onClick="openRow('betAmountCalTopcal1', 'betAmountCalTopbtn_open1', '/info/include/images/');"><img src="/info/include/images/btn_open.gif" border="0" id="betAmountCalTopbtn_open1"></td>
					<td width="160" title='Click to expand / collapse' class="brown" style="PADDING-RIGHT:0px; PADDING-LEFT:10px; PADDING-BOTTOM:0px; PADDING-TOP:0px" onClick="openRow('betAmountCalTopcal1', 'betAmountCalTopbtn_open1', '/info/include/images/');"><strong class="content">Investment Calculator</strong></td>
					<td width="150" align="right" style="PADDING-RIGHT:5px; PADDING-LEFT:0px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><span title="Unit Bet - specify a unit bet amount for each bet combination">Unit Bet $</span></td>
					<td width="65" style="PADDING-RIGHT:5px; PADDING-LEFT:0px; PADDING-BOTTOM:0px; PADDING-TOP:0px">
						<input id="betAmountCalTopUnitBetInput" name="betAmountCalTopUnitBetInput" type="text" class="inputField1" maxlength="7" onkeyup="copyBetAmountInput('betAmountCalTop');">
					</td>
					<td width="1%" nowrap><span onClick="openRow('betAmountCalTopcal1', 'betAmountCalTopbtn_open1', '/info/include/images/', true);"><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('betAmountCalTopbtn_reset','','/info/include/images/en/btn_reset_on.gif',1)"><img src="/info/include/images/en/btn_reset.gif" border="0" id="betAmountCalTopbtn_reset" onclick="betCalReset('-');" title="Reset" align="absMiddle"></a> <a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('betAmountCalTopbtn_calculate','','/info/include/images/en/btn_calculate_on.gif',1)"><img src="/info/include/images/en/btn_calculate.gif" border="0" id="betAmountCalTopbtn_calculate" onclick="processBet('betAmountCalTop');" title="Calculate" align="absMiddle"></a></span><img style="cursor:default" src="/info/include/images/en/btn_reset_off.gif" border="0" id="betAmountCalTopbtn_reset_off" onclick="" title="Reset" align="absMiddle"> <img style="cursor:default" src="/info/include/images/en/btn_calculate_off.gif" border="0" id="betAmountCalTopbtn_calculate_off" onclick="" title="Calculate" align="absMiddle"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="100%">
			<table width="100%" border="0" cellspacing="2" cellpadding="0" id="betAmountCalTopcal1" style="DISPLAY:none">
				<tr>
					<td class="grayBar2" align="center" style="PADDING-BOTTOM:5px; PADDING-TOP:5px">No. of Bets</td>
					<td class="grayBar2" align="center">Unit Bet</td>
					<td class="grayBar2" align="center">Total Amount</td>
				</tr>
				<tr>
					<td class="content" align="center" style="PADDING-BOTTOM:5px; PADDING-TOP:5px"><span id="betAmountCalTopNoOfBet">-</span></td>
					<td class="content" align="center"><span id="betAmountCalTopUnitBet">-</span></td>
					<td class="content" align="center"><span id="betAmountCalTopTotal">-</span></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
  document.getElementById('betAmountCalTopUnitBetInput').value = getBetslipSettingsBetUnit('-');

  // Q308
  selectBetMethod('unitbet');
</script>
</td>
		</tr>
		<tr>
			<td colspan="2" style="PADDING-BOTTOM:4px;PADDING-TOP:2px"><div id="detailWPTable"></div></td>
		</tr>
		<tr vAlign="top">
			<td width="56%">
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#F8F8F8">
	<tr>
	    <td colSpan="7"><img src="/info/include/images/spacer.gif" width="1" height="2px"></td>
	</tr>
	<tr>
	    <td><img src="/info/include/images/spacer.gif" width="1px" height="1"></td>
		<td class="content" colSpan="6">Guide to Odds Change</td>
	</tr>
	<tr>
		<td width="1px"><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
		<td width="10"><span style="background-color:#C80000;color:#FFFFFF">00</span></td>
		<td width="70" class="content" align="left">Hot Favourite</td>
		<td width="10"><span style="background-color:#2AA216;color:#FFFFFF">00</span></td>
		<td width="100" class="content">Odds Drop by 20%</td>
		<td width="10"><span style="background-color:#993300;color:#FFFFFF">00</span></td>
		<td width="100" class="content">Odds Drop by 50%</td>
	</tr>
	<tr>
	    <td colSpan="7"><img src="/info/include/images/spacer.gif" width="1px" height="2px"></td>
	</tr>
</table>
</td>
			<td width="44%" bgcolor="#f8F8F8"></td>
		</tr>
		<tr>
			<td colspan="2">
<table style="PADDING-RIGHT:5px;PADDING-LEFT:5px;PADDING-BOTTOM:3px;PADDING-TOP:3px" width="100%"
	border="0" cellspacing="0" cellpadding="0">
	<tr>
		
		<td align="right">
			
			<a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('raceInfoBottombtn_addslip','','/info/include/images/en/btn_addslip_on.gif',1)"><img src="/info/include/images/en/btn_addslip.gif" border="0" id="raceInfoBottombtn_addslip" onclick="processBet('betslip');xsell_event(10);" title="Add To Slip" align="absMiddle"></a>
		</td>
	</tr>
</table>
</td>
		</tr>
		<tr>
			<td colspan="2" style="PADDING-BOTTOM:5px;PADDING-TOP:2px">
<table style='display:block' width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="4" class="subTitleBar" style="PADDING-RIGHT:0px; PADDING-LEFT:10px; PADDING-BOTTOM:5px; PADDING-TOP:5px">Total Investment</td>
	</tr>
	<tr>
		<td width="50%" valign="top">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr><td width="60%" align="center" class="tableContent1">Win</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotWIN"</span></td></tr><tr><td width="60%" align="center" class="tableContent2">Place</td><td width="40%" align="right" class="tableContent2" style="padding-right:20px;"><span id="poolInvPoolTotPLA"</span></td></tr><tr><td width="60%" align="center" class="tableContent1">Quinella</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotQIN"</span></td></tr><tr><td width="60%" align="center" class="tableContent2">Quinella Place</td><td width="40%" align="right" class="tableContent2" style="padding-right:20px;"><span id="poolInvPoolTotQPL"</span></td></tr><tr><td width="60%" align="center" class="tableContent1">Tierce</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotTCE"</span></td></tr><tr><td width="60%" align="center" class="tableContent2">Trio</td><td width="40%" align="right" class="tableContent2" style="padding-right:20px;"><span id="poolInvPoolTotTRI"</span></td></tr><tr><td width="60%" align="center" class="tableContent1">First 4</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotF-F"</span></td></tr>
			</table>
		</td>

		<td width="50%" valign="top">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr><td width="60%" align="center" class="tableContent1">Double</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotDBL"</span></td></tr><tr><td width="60%" align="center" class="tableContent2">Treble</td><td width="40%" align="right" class="tableContent2" style="padding-right:20px;"><span id="poolInvPoolTotTBL"</span></td></tr><tr><td width="60%" align="center" class="tableContent1">Race Total (Single Race Pools)</td><td width="40%" align="right" class="tableContent1" style="padding-right:20px;"><span id="poolInvPoolTotSUM"</span></td></tr><tr><td width="60%" align="center" class="tableContent2">Race Total (All Pools)</td><td width="40%" align="right" class="tableContent2" style="padding-right:20px;"><span id="poolInvPoolTotTOTALSUM"</span></td></tr>
			</table>
		</td>

	</tr>
</table>
<script type="text/javascript">

var poolInvPoolTotDoc = createXmlObject();

function poolInvPoolTotLoadDoc() {
poolInvPoolTotDoc.load('http://bet.hkjc.com/racing/getXML.aspx?type=pooltot&date=13-09-2009&venue=ST&raceno=8');
  poolInvPoolTotRefreshDoc();

}

function poolInvPoolTotLoadDocFF() {
poolInvPoolTotDoc.load('http://bet.hkjc.com/racing/getXML.aspx?type=pooltot&date=13-09-2009&venue=ST&raceno=8');
  poolInvPoolTotDoc.onload = poolInvPoolTotRefreshOdds;

}

function poolInvPoolTotRefreshDoc() {
  if ( poolInvPoolTotDoc.readyState == '4' )
    poolInvPoolTotRefreshOdds();
  else
    window.setTimeout('poolInvPoolTotRefreshDoc()', 400);
}

function poolInvPoolTotRefreshOdds() {
  var nodes = getNodes(poolInvPoolTotDoc, 'POOL_TOT/RACE/INV');
  var singleTotal = 0;
  var allTotal = 0;

  var oddsTime = getSingleNode(poolInvPoolTotDoc, 'POOL_TOT').getAttribute('updateTime');
  updateRefreshTime(oddsTime);

  
  var singlePoolList = 'WIN;PLA;QIN;QPL;TCE;TRI;F-F';

  for ( var i=0; i<nodes.length; i++ ) {
    var node = nodes[i];
    var pool = getAttribute(node, 'POOL');
    var investment = getText(node);
    document.getElementById('poolInvPoolTot'+pool).innerHTML = '$ ' + addComma(investment);
    if ( singlePoolList.indexOf(pool) >= 0 )
      singleTotal += parseInt(investment, 10);
    allTotal += parseInt(investment, 10);
  }
  document.getElementById('poolInvPoolTotSUM').innerHTML = '<strong class="title">$ ' + addComma(singleTotal.toString()) + '</strong>';
  document.getElementById('poolInvPoolTotTOTALSUM').innerHTML = '<strong class="title">$ ' + addComma(allTotal.toString()) + '</strong>';
}



</script></td>
		</tr>
		<tr>
			<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="BORDER-RIGHT:#999999 1px solid; BORDER-TOP:#999999 1px solid; BORDER-LEFT:#999999 1px solid; BORDER-BOTTOM:#999999 1px solid">
	<tr>
		<td style="PADDING-RIGHT:5px; PADDING-LEFT:7px; PADDING-BOTTOM:4px; PADDING-TOP:5px">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" style="CURSOR:pointer">
				<tr>
					<td width="15" title='Click to expand / collapse' onClick="openRow('betAmountCalBottomcal1', 'betAmountCalBottombtn_open1', '/info/include/images/');"><img src="/info/include/images/btn_open.gif" border="0" id="betAmountCalBottombtn_open1"></td>
					<td width="160" title='Click to expand / collapse' class="brown" style="PADDING-RIGHT:0px; PADDING-LEFT:10px; PADDING-BOTTOM:0px; PADDING-TOP:0px" onClick="openRow('betAmountCalBottomcal1', 'betAmountCalBottombtn_open1', '/info/include/images/');"><strong class="content">Investment Calculator</strong></td>
					<td width="150" align="right" style="PADDING-RIGHT:5px; PADDING-LEFT:0px; PADDING-BOTTOM:0px; PADDING-TOP:0px"><span title="Unit Bet - specify a unit bet amount for each bet combination">Unit Bet $</span></td>
					<td width="65" style="PADDING-RIGHT:5px; PADDING-LEFT:0px; PADDING-BOTTOM:0px; PADDING-TOP:0px">
						<input id="betAmountCalBottomUnitBetInput" name="betAmountCalBottomUnitBetInput" type="text" class="inputField1" maxlength="7" onkeyup="copyBetAmountInput('betAmountCalBottom');">
					</td>
					<td width="1%" nowrap><span onClick="openRow('betAmountCalBottomcal1', 'betAmountCalBottombtn_open1', '/info/include/images/', true);"><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('betAmountCalBottombtn_reset','','/info/include/images/en/btn_reset_on.gif',1)"><img src="/info/include/images/en/btn_reset.gif" border="0" id="betAmountCalBottombtn_reset" onclick="betCalReset('-');" title="Reset" align="absMiddle"></a> <a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('betAmountCalBottombtn_calculate','','/info/include/images/en/btn_calculate_on.gif',1)"><img src="/info/include/images/en/btn_calculate.gif" border="0" id="betAmountCalBottombtn_calculate" onclick="processBet('betAmountCalBottom');" title="Calculate" align="absMiddle"></a></span><img style="cursor:default" src="/info/include/images/en/btn_reset_off.gif" border="0" id="betAmountCalBottombtn_reset_off" onclick="" title="Reset" align="absMiddle"> <img style="cursor:default" src="/info/include/images/en/btn_calculate_off.gif" border="0" id="betAmountCalBottombtn_calculate_off" onclick="" title="Calculate" align="absMiddle"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="100%">
			<table width="100%" border="0" cellspacing="2" cellpadding="0" id="betAmountCalBottomcal1" style="DISPLAY:none">
				<tr>
					<td class="grayBar2" align="center" style="PADDING-BOTTOM:5px; PADDING-TOP:5px">No. of Bets</td>
					<td class="grayBar2" align="center">Unit Bet</td>
					<td class="grayBar2" align="center">Total Amount</td>
				</tr>
				<tr>
					<td class="content" align="center" style="PADDING-BOTTOM:5px; PADDING-TOP:5px"><span id="betAmountCalBottomNoOfBet">-</span></td>
					<td class="content" align="center"><span id="betAmountCalBottomUnitBet">-</span></td>
					<td class="content" align="center"><span id="betAmountCalBottomTotal">-</span></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
  document.getElementById('betAmountCalBottomUnitBetInput').value = getBetslipSettingsBetUnit('-');

  // Q308
  selectBetMethod('unitbet');
</script>
</td>
		</tr>
		<tr>
			<td colspan="2" bgcolor="#4A8CC1" style="border-bottom:10px solid #FFFFFF;"><img src="/info/include/images/spacer.gif" width="1" height="3"></td>
		</tr>
	</table>
</div>

<script type="text/javascript">


var hfBg = '#C80000';
var hfFg = '#FFFFFF';
var od20Bg = '#2AA216';
var od20Fg = '#FFFFFF';
var od50Bg = '#993300';
var od50Fg = '#FFFFFF';


var txt1ByRace = ''.split('@@@');
var txt2ByRace = ''.split('@@@');
var infoDivideByRace = '@@@@@@@@@@@@@@@@@@@@@@@@|FERRO BEAU|DR POSSIBLE|MASCOT FORTUNE|EIGHT PLUS NINE|GOOD LUCK WIN|HAPPY GO LUCKY|HOLEY DOLLAR|DARPANA|GOUF|SPEEDY|WINNER SMART|BELONG TO CASA;;|G244|J110|H221|H259|K004|H127|K118|K256|J227|J037|K029|J064'.split('@@@');
var startersStatusByRace = '@@@@@@@@@@@@@@@@@@@@@@@@||||||||||||'.split('@@@');

var poolTypeValueByRace = '@@@@@@@@@@@@@@@@@@@@@@@@WIN;PLA;W-P'.split('@@@');
var poolTypeTextByRace = '@@@@@@@@@@@@@@@@@@@@@@@@WIN;PLA;W-P'.split('@@@');
var poolSellStatus = '1@@@@@@@@@@@@@@@@@@@@@@@@;WIN;PLA;W-P;QIN;QPL;QQP;TRI;DBL;TBL;TCE;F-F;'.split('@@@');
var winOddsByRace = '161146@@@@@@@@@@@@@@@@@@@@@@@@WIN;1=8.5=0;2=3.3=1;3=9.1=0;4=17=0;5=20=0;6=33=0;7=4.0=0;8=75=0;9=41=0;10=52=0;11=4.2=0;12=100=0#PLA;1=2.7=0;2=1.7=0;3=3.0=0;4=4.2=0;5=5.2=0;6=5.9=0;7=1.8=0;8=12=0;9=8.2=0;10=8.7=0;11=1.2=1;12=11=0'.split('@@@');
var multiRacePoolsStr = '@@@DBL#;1,2;2,3;3,4;4,5;5,6;6,7;7,8;8,9;9,10@@@TBL#;8,9,10@@@D-T#;3,4;6,7;9,10@@@T-T#;4,5,6@@@6UP#;5,6,7,8,9,10';
var fieldSize = 'ST;14;14;14;11;14;14;13;12;12;14';
var fieldSizeWithReserve = 'ST;14;14;14;11;14;14;13;12;12;14';
var reserveList = 'ST';
var scratchList = 'ST;3#7';

ranRace = 7;

var horseNames = new Array(infoDivideByRace.length);
var horseCodes = new Array(infoDivideByRace.length);
var horseScratchs = new Array(infoDivideByRace.length);

for ( var i=1; i<infoDivideByRace.length; i++ ) {
  var tmp = infoDivideByRace[i].split(';;');
  if ( tmp.length > 1 ) {
    horseNames[i] = tmp[0].split('|');
    horseCodes[i] = tmp[1].split('|');
  }
  horseScratchs[i] = new Array(15);
}

var horseStats = new Array(startersStatusByRace.length);
for ( var i=1; i<startersStatusByRace.length; i++ ) {
  horseStats[i] = startersStatusByRace[i].split('|');
}

refreshScratchHorse(scratchList);

function createTable(i, divId, subId) {
  if ( subId==null )
    subId=0;

  var tb1 = new RacingWPTable(i);
  tb1.id = 'wpTable' + (i+subId);
  tb1.tableId = (i+subId);

  tb1.lblChoosePool = 'Pool&nbsp;:&nbsp;';
  tb1.lblHorseNum = 'No.';
  tb1.lblBanker = 'Banker';
  tb1.lblLeg = 'Leg';
  tb1.lblHorseName = 'Horse';
  tb1.lblWin = 'Win';
  tb1.lblPla = 'Place';
  tb1.lblField = 'Field';

  tb1.fieldSize = horseNames[i].length-1;

  tb1.box1 = (txt1ByRace[i]!=null) ? txt1ByRace[i] : '';
  tb1.box2 = (txt2ByRace[i]!=null) ? txt2ByRace[i] : '';

  setRacingTableObj1(tb1);

  return tb1;
}

function setRacingTableObj1(tb) {
  for ( var i=1; i<horseNames[tb.raceNo].length; i++ ) {
    var hNameSub = horseNames[tb.raceNo][i].split('/');
    var hCodeSub = horseCodes[tb.raceNo][i].split('/');
    var hStatSub = horseStats[tb.raceNo][i].split('/');
    tb.tableObj[i] = new Array(hNameSub.length);
    for ( var j=0; j<hNameSub.length; j++ ) {
      tb.tableObj[i][j] = new RacingTableObj();
      tb.tableObj[i][j].num = i;
      tb.tableObj[i][j].hName = hNameSub[j];
      tb.tableObj[i][j].hCode = hCodeSub[j];
      tb.tableObj[i][j].hStat = hStatSub[j];
      tb.tableObj[i][j].hScr = horseScratchs[tb.raceNo][i];
    }
  }
}

function loadPoolNames() {
  var longNames = new Array();
  var pools =  'WIN###WIN;;;WIN###WIN;;;PLA###PLA;;;W-P###W-P'.split(';;;');
  for ( var i=0; i<pools.length; i++ ) {
    var tmp = pools[i].split('###');
    longNames[tmp[0]] = tmp[1];
  }
  return longNames;
}

function loadLongPoolNames() {
  var longNames = new Array();
  var pools =  'WIN###Win;;;WIN###Win;;;PLA###Place;;;W-P###Win & Place'.split(';;;');
  for ( var i=0; i<pools.length; i++ ) {
    var tmp = pools[i].split('###');
    longNames[tmp[0]] = tmp[1];
  }
  return longNames;
}

</script>

<script type="text/javascript">
var drawWgtByRace = '@@@@@@@@@@@@@@@@@@@@@@@@|G244|J110|H221|H259|K004|H127|K118|K256|J227|J037|K029|J064;;|1|8|7|5|4|2|11|12|3|9|6|10;;|133|125|125|119|119|118|118|115|115|115|115|114'.split('@@@');
var jockeysByRace = '@@@@@@@@@@@@@@@@@@@@@@@@|B Prebble|D Whyte|J Lloyd|M L Yeung|H W Lai|K C Leung|D Beadman|W Pike|C W Wong|M W Leung|W M Lai|K W Leung;;|PB|WD|LLJ|YML|LHW|LDE|BED|PW|WCW|LMW|LWM|LKE'.split('@@@');
var trainersByRace = '@@@@@@@@@@@@@@@@@@@@@@@@|C Fownes|J Size|Y S Tsui|A Lee|P F Yiu|C Fownes|J Moore|D E Ferraris|C H Yip|Y O Wong|K L Man|Y S Tsui;;|FC|SJJ|TYS|LAL|YPF|FC|JM|FD|YCH|WYO|MKL|TYS'.split('@@@');

function initWPTableDetails(tb) {
  tb.horseNumLbl = 'No.';
  tb.horseColorLbl = 'Colour';
  tb.horseNameLbl = 'Horse';
  tb.barDrawLbl = 'Draw';
  tb.handicapLbl = 'Wt.';
  tb.jockeyLbl = 'Jockey';
  tb.trainerLbl = 'Trainer';
  tb.winLbl = 'Win';
  tb.plaLbl = 'Place';
  tb.wipLbl = 'Win & Place';
  tb.fieldLbl = 'Field';
}

function setRacingTableObj2(tb) {
  var tmp = drawWgtByRace[tb.raceNo].split(';;');
  if ( tmp.length > 2 ) {
    var brandList = tmp[0].split('|');
    var drawList = tmp[1].split('|');
    var handicapList = tmp[2].split('|');
    for ( var i=1; i<brandList.length; i++ ) {
      var brandSub = brandList[i].split('/');
      var drawSub = drawList[i].split('/');
      var handicapSub = handicapList[i].split('/');
      for ( var j=0; j<brandSub.length; j++ ) {
        tb.tableObj[i][j].brand = brandSub[j];
        tb.tableObj[i][j].draw = drawSub[j];
        tb.tableObj[i][j].handicap = handicapSub[j];
      }
    }
  }

  tmp = jockeysByRace[tb.raceNo].split(';;');
  if ( tmp.length > 1 ) {
    var jockeyNameList = tmp[0].split('|');
    var jockeyCodeList = tmp[1].split('|');
    for ( var i=1; i<jockeyNameList.length; i++ ) {
      var jNameSub = jockeyNameList[i].split('/');
      var jCodeSub = jockeyCodeList[i].split('/');
      for ( var j=0; j<jNameSub.length; j++ ) {
        tb.tableObj[i][j].jName = jNameSub[j];
        tb.tableObj[i][j].jCode = jCodeSub[j];
      }
    }
  }

  tmp = trainersByRace[tb.raceNo].split(';;');
  if ( tmp.length > 1 ) {
    var trainerNameList = tmp[0].split('|');
    var trainerCodeList = tmp[1].split('|');
    for ( var i=1; i<trainerNameList.length; i++ ) {
      var tNameSub = trainerNameList[i].split('/');
      var tCodeSub = trainerCodeList[i].split('/');
      for ( var j=0; j<tNameSub.length; j++ ) {
        tb.tableObj[i][j].tName = tNameSub[j];
        tb.tableObj[i][j].tCode = tCodeSub[j];
      }
    }
  }
  
}

function loadRaceColor() {
  for ( var i=1; i<=wpTableList[8].tableSize; i++ ) {
    var tbObj =  wpTableList[8].tableObj[i];
    for ( var j=0; j<tbObj.length; j++ ) {
      var tmp = document.getElementById('wpTableImg' + tbObj[j].brand);
      if ( tmp!=null )
        tmp.src = 'http://www.hkjc.com/images/raceColor/' + tbObj[j].brand + (isOverseaMeeting ? '' : '.gif');
    }
  }
}

if (window.addEventListener){   
  window.addEventListener("load", loadRaceColor, false);
} else if (window.attachEvent){   
  window.attachEvent("onload", loadRaceColor);
}
</script>

<script type="text/javascript">
// function available in racingCommon.js

var labelField = 'Field';
var dayShort = 'SUN';
var venueShort = 'ST';
var dayLong = 'Sunday';
var venueLong = 'Sha Tin';
var raceNoLong = 'Race #';
var withBanker = 'Banker with';
var alupShort = 'All Up';
var alupLong = 'Racing All Up';
var randNum = '(Random Generation)';
var shortPoolNames = loadPoolNames();
var longPoolNames = loadLongPoolNames();
var raceLeg = '8'.split(',');

var singleRacePoolList = 'WIN;PLA;W-P;QIN;QPL;QQP;TCE S;TCE M;TCE B;TCE MB;TCE BM;TRI;F-F';

var addBetDebug = false;
var tooManyBLbl = 'Too many bankers for Race #.';
var insuffSLbl = 'Insufficient selections for Race #.';
var calInvAmtLbl = 'Invalid / Nil bet amount input, please enter a valid bet amount.';

</script>
<script type="text/javascript">

///////////////////////////////////////////////
// UI Related
///////////////////////////////////////////////
function switchAllUpPage() {
  var betObj1 = wpTableList[8].createBetObject('WIN');
  var betObj2 = wpTableList[8].createBetObject('PLA');
  var betObj3 = wpTableList[8].createBetObject('W-P');
  var allUpPool = '';
  var allUpSel = '';
  var selectPoolCnt = 0;
  
  if ( betObj1.legNo > 0 ) {
    allUpPool = 'WIN';
    allUpSel = betObj1.toBetSel();
    selectPoolCnt++;
  }
  if ( betObj2.legNo > 0 ) {
    allUpPool = 'PLA';
    allUpSel = betObj2.toBetSel();
    selectPoolCnt++;
  }
  if ( betObj3.legNo > 0 ) {
    allUpPool = 'W-P';
    allUpSel = betObj3.toBetSel();
    selectPoolCnt++;
  }

  if ( selectPoolCnt > 1 ) {
    alert('To compose an All Up bet, please select one pool type only.');
    document.getElementById('allupCheckbox').checked = false;
    return;
  }
  else if ( selectPoolCnt == 1 )
    window.name = allUpPool + ' ' + allUpSel;

  location.href = '/racing/pages/odds_wp_alup.aspx?date=13-09-2009&venue=ST&raceno=8&lang=en';
}

function initOddsTable() {
  var tb1 = new WinPlaceCheckBoxObj(8);
  wpTableList[8] = tb1;

  tb1.id = 'wpTable' + 8;
  tb1.tableId = 'detailWPTable';
  tb1.tableSize = horseNames[8].length-1;
  tb1.startSell = (poolSellStatus[0]=='1') ? 1 : 0;
  tb1.sellStatus = poolSellStatus[8];

  initWPTableDetails(tb1);
  setRacingTableObj1(tb1);
  setRacingTableObj2(tb1);

  if ( winOddsByRace.length > 0 ) {
    var tmp = winOddsByRace[8].split('#');
    updateRefreshTime(winOddsByRace[0]);

    var tmpOdds = tmp[0].split(';');
    for ( var j=1; j<tmpOdds.length; j++ ) {
      var tmpStr = tmpOdds[j].split('=');
      tb1.winOdds[parseInt(tmpStr[0], 10)] = tmpStr[1];
      tb1.winColorInd[parseInt(tmpStr[0], 10)] = tmpStr[2];
    }

    tmpOdds = tmp[1].split(';');
    for ( var j=1; j<tmpOdds.length; j++ ) {
      var tmpStr = tmpOdds[j].split('=');
      tb1.plaOdds[parseInt(tmpStr[0], 10)] = tmpStr[1];
      tb1.plaColorInd[parseInt(tmpStr[0], 10)] = tmpStr[2];
    }
  }
  tb1.generateTable();
  tb1.setInnerTableHtml();
}

///////////////////////////////////////////////
// Add to betslip related
///////////////////////////////////////////////
function processBet(toComponent) {
  var betObj1 = processSinglePoolBet(toComponent, 'WIN');
  var betObj2 = processSinglePoolBet(toComponent, 'PLA');
  var betObj3 = processSinglePoolBet(toComponent, 'W-P');
  var betCnt = getNumberOfBet('WIN', betObj1.toBetSel(), '', 8)
             + getNumberOfBet('PLA', betObj2.toBetSel(), '', 8)
             + getNumberOfBet('W-P', betObj3.toBetSel(), '', 8);

  if ( betCnt > 0 ) {
    if ( toComponent!='betslip' )
      updateBetCalDisplay(toComponent, betCnt);
  }
  else
    alert('Insufficient selections for Race #.'.replace('#', '8'));  
}

function processSinglePoolBet(toComponent, poolS) {
  var betObj = wpTableList[8].createBetObject(poolS);
  var ret = 1;
  if ( toComponent=='betslip' && betObj.legNo>0 ) {
    ret = addToBetslip(poolS, '', '8', betObj.toBetSel(), 1);
    if ( ret==1 ) {
      wpTableList[8].clearCheckBox(poolS);
      wpTableList[8].setInnerTableHtml();
    }
  }
  return betObj;
}

///////////////////////////////////////////////
// Odds Auto Refresh Related
///////////////////////////////////////////////
var dataType = '';

function refreshAllDoc() {
  scratchLoadDoc('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST');
  sellStatLoadDoc('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST');
  poolInvPoolTotLoadDoc();

}

function refreshAllDocFF() {
  scratchLoadDocFF('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST');
  sellStatLoadDocFF('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST');
  poolInvPoolTotLoadDocFF();

}

function refreshOddsDoc() {
  wpOddsLoadDoc('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST', '8', '8', dataType);
}

function refreshOddsDocFF() {
  wpOddsLoadDocFF('http://bet.hkjc.com/racing/getXML.aspx', '13-09-2009', 'ST', '8', '8', dataType);
}

function changeDataType(type) {
  dataType = type;
  if ( !isIE )
    refreshOddsDocFF();
  else
    refreshOddsDoc();
}

xsell_event(7);

</script>

										</td>
									</tr>
								</table>
							</td>
							<td width="6" class="shadowRight"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
						</tr>
						<tr>
							<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
							<td bgcolor="#ffffff"><img src="/info/include/images/spacer.gif" width="1" height="10"></td>
							<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
						</tr>
					</table>
					
<div id="footer">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">

		<tr valign="top">
			<td width="6" class="shadowLeft"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
			<td width="764" bgcolor="#FFFFFF" style="padding:7px;">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td><iframe src="" width="100%" height="1" frameborder="0" scrolling="no" id="hr_promo_bottom" name="hr_promo_bottom"></iframe></td>
					</tr>
				</table>
			</td>
			<td width="6" class="shadowRight"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
		</tr>
		<tr>
			<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
			<td class="shadowTop"><img src="/info/include/images/spacer.gif" width="1" height="3"></td>
			<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr>
			<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
			<td class="shadowBottom"><img src="/info/include/images/spacer.gif" width="1" height="3"></td>
			<td><img src="/info/include/images/spacer.gif" width="1" height="1"></td>
		</tr>
		<tr valign="top">
			<td width="6" class="shadowLeft"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
			<td width="764" bgcolor="#FFFFFF" style="padding:7px;">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td><iframe src="" width="100%" height="1" frameborder="0" scrolling="no" id="hr_promo_rgp" name="hr_promo_rgp"></iframe></td>
					</tr>
				</table>
			</td>
			<td width="6" class="shadowRight"><img src="/info/include/images/spacer.gif" width="6" height="1"></td>
		</tr>
		<tr>
			<td colspan="3" class="shadowBottom"><img src="/info/include/images/spacer.gif" width="1" height="3"></td>
		</tr>

	</table>
</div>
<script type="text/javascript">

function initHrPromoBottom() {
  document.getElementById('hr_promo_bottom').src = '';
  document.getElementById('hr_promo_rgp').src = 'http://bet.hkjc.com/info/include/rgp/en/hr_info_bottom_rgp.html';
}

</script>

				</td>
			</tr>
		</table>
	</body>
</HTML>
<script type="text/javascript">
if (window.addEventListener) {
  window.addEventListener("load", initRacing, false);
} else if (window.attachEvent) {
  window.attachEvent("onload", initRacing);
}
</script>